package com.systemic.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @ClassName: Comment
 * @Description:
 * @Author:
 * @CreateTime: 2024-01-20 15:09
 * @Version:
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Comment {

    /**
     * 主键
     */
    private Integer id;

    /**
     * 父级id
     */
    private Integer parentId;   // 0:一级评论；其它为一级评论的ID

    /**
     * 动态id
     */
    private Integer did;

    /**
     * 用户id
     */
    private Integer uid;

    /**
     * 评论时间
     */
    private Date commentDate;

    /**
     * 评论内容
     */
    private String commentDetails;

    /**
     * 回复用户id
     */
    private Integer replyUid;

    /**
     * 回复评论
     */
    private Integer replyCommentId;

}
